<?php
namespace app\zw_admin\controller;
use think\Controller;
use think\Request;
use think\Db;
use think\Session;
class UserController extends Controller
{
	/**
        用户信息列表
    **/
    public function index()
    {
    	$userList = Db::name('user')
        ->alias('u')
        ->join('pets_user_integral i','i.uid = u.id')
        ->join('pets_user_money m','m.uid = u.id')
        ->order('id desc')
        ->select();
        $this->assign('userList',$userList);
        return $this->fetch();
    }
}